package com.kaede.hayate.modules.sys.entity;

import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableName;
import com.kaede.hayate.common.base.BaseEntity;

/**
 * <p>
 * 角色
 * </p>
 *
 * @author Kaede
 * @since 2018-06-06
 */
@TableName("sys_role")
public class Role extends BaseEntity {

    private static final long serialVersionUID = 1L;

    /**
     * 角色名
     */
    private String name;
    /**
     * 英文名称
     */
    private String enname;
    /**
     * 系统数据标记
     */
    @TableField("sys_flag")
    private Boolean sysFlag;


    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getEnname() {
        return enname;
    }

    public void setEnname(String enname) {
        this.enname = enname;
    }

    public Boolean getSysFlag() {
        return sysFlag;
    }

    public void setSysFlag(Boolean sysFlag) {
        this.sysFlag = sysFlag;
    }

    @Override
    public String toString() {
        return "Role{" +
        "name=" + name +
        ", enname=" + enname +
        ", sysFlag=" + sysFlag +
        "}";
    }
}
